package com.example.survey23.controller;


import com.example.survey23.entity.AnswerBankGap;
import com.example.survey23.service.AnswerBankGapService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 23Group
 * @since 2022-11-10
 */
@RestController
@RequestMapping("/answer-bank-gap")
public class AnswerBankGapController {

    @Autowired
    AnswerBankGapService answerBankGapService;
    public void save(AnswerBankGap answerBankGap){
        answerBankGapService.save(answerBankGap);
    }

    public int getMaxGId(){
        return answerBankGapService.getMaxGId();
    }

}
